package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;


@EnableWebMvc
@Configuration  // 声明配置类
@ComponentScan(value = "com.itheima"/*,
        excludeFilters = @ComponentScan.Filter(
                type = FilterType.ANNOTATION,
                value = {Controller.class*//*,Configuration.class*//*}
        )*/)  // 扫描的范围 排除重复扫描
public class SpringConfig {

}
